//
//  SCApiTool+base.h
//  ScalperMerchant
//
//  Created by 王云 on 2017/10/9.
//  Copyright © 2017年 WY. All rights reserved.
//

#import "SCApiTool.h"

@interface SCApiTool (base)

#pragma mark 店铺分类
+ (void)ScGoodsclassSuccess:(void(^)(NSArray *data))success
                    failure:(void (^)(NSString *errormsg))fail;

#pragma mark 销售人员列表
+ (void)ScBdlistSuccess:(void(^)(NSArray *data))success
                    failure:(void (^)(NSString *errormsg))fail;

#pragma mark 发送验证码
+ (void)ScSendPhone:(NSString *)phone
               type:(NSString *)type
            success:(void(^)(NSString *msg))success
            failure:(void (^)(NSString *errormsg))fail;



#pragma mark 照片上传
+ (void)ScUpdatePhoto:(NSArray *)array
                token:(NSString *)token
              Success:(void(^)(NSArray *data))success
              failure:(void (^)(NSString *errormsg))fail;

#pragma mark 刷新token
+ (void)ScRefreshSuccess:(void(^)(NSArray *data))success
                 failure:(void (^)(NSString *errormsg))fail;

#pragma mark 绑定手机号
+ (void)ScBindmobildPhone:(NSString *)phone
                     code:(NSString *)code
                   unioid:(NSString *)unioid
                  success:(void(^)(NSString *msg))success
                  failure:(void (^)(NSString *errormsg))fail;

#pragma mark 检查手机号是否存在
+ (void)ScCheckexist:(NSString *)member_mobile
             success:(void(^)(NSString *msg))success
             failure:(void (^)(NSString *errormsg))fail;

#pragma mark 获取APP最新版本
+ (void)SCversionSuccess:(void(^)(NSDictionary *dic))success
                 failure:(void (^)(NSString *errormsg))fail;


@end
